package priv.menghan.happy.learning.common.util;

import cn.hutool.crypto.SecureUtil;

public class PasswordUtil {
    public static boolean isPasswordValid(String rawPassword, String encodedPassword) {
        return SecureUtil.md5(rawPassword).equals(encodedPassword);
    }
}
